package operations;

import Book.Book;
import Book.Booklist;

public class Showoperation implements Ioperations{
    @Override
    public void work(Booklist booklist) {
        System.out.println("显示图书中.....");
        int currentSize = booklist.getUsedSize();
        for (int i = 0; i < currentSize; i++) {
            Book book = booklist.getBooks(i);
            System.out.println(book);
        }
    }
}
